package com.be.beadmin.product.task;
import com.be.beadmin.service.task.BaseTask;
import com.be.beadmin.service.util.BeanUtil;


public class UpdateTimeTask extends BaseTask {


    public UpdateTimeTask(){
        super("生成报表");
//        this.setName(String.format(""));
    }

    @Override
    public void doTask() {
        try {
            BeanUtil.getBean(ProductTaskProcessor.class).updateTime();
        } catch (Exception e) {
            logger.error(String.format("任务[%s]执行出错", getName()), e);
        }
    }
}
